package com.lzh.yupao.model.domain;

import java.util.Date;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 标签(Tag)表实体类
 *
 * @author makejava
 * @since 2023-05-13 17:26:35
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tag")
public class Tag implements Serializable {
    private static final long serialVersionUID = 52342461534L;
    //id@TableId
    private Long id;

    //标签名称
    private String tagname;
    //用户id
    private Long userid;
    //父标签id
    private Long parentid;
    //0不是父标签 1是
    private Integer isparent;
    //创建时间
    private Date createtime;
    //更新时间
    private Date updatetime;
    //是否删除
    @TableLogic
    private Integer isdelete;
}

